﻿using Entity.FrameEntity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.NetworkInformation;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;

namespace Entity.DbEntity
{
    [CustomAttribute(TableName = "sys_users_info", Description = "系统用户表")]
    public class DbUser
    {
        private int? _id;
        private string _usercode;
        private string _username;
        private string _userpwd;
        private string _userdept;
        private string _userphone;
        private string _createtime;
        private string _status;
        private string _acccode;
        private string _isSync;
        private int? _isadmin;
        private string _createuser;
        private string _deltime;
        private string _deluser;
        public int? id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 登录账号
        /// </summary>
        public string userCode
        {
            set { _usercode = value; }
            get { return _usercode; }
        }
        /// <summary>
        /// 账号名称
        /// </summary>
        public string userName
        {
            set { _username = value; }
            get { return _username; }
        }
        /// <summary>
        /// 密码
        /// </summary>
        public string userPwd
        {
            set { _userpwd = value; }
            get { return _userpwd; }
        }
        /// <summary>
        /// 所属部门
        /// </summary>
        public string dept
        {
            set { _userdept = value; }
            get { return _userdept; }
        }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string userPhone
        {
            set { _userphone = value; }
            get { return _userphone; }
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public string createTime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 账号状态
        /// </summary>
        public string status
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// 关联账套
        /// </summary>
        public string accCode
        {
            set { _acccode = value; }
            get { return _acccode; }
        }
        /// <summary>
        /// 同步标识
        /// </summary>
        public string isSync
        {
            set { _isSync = value; }
            get { return _isSync; }
        }
        /// <summary>
        /// 是否管理员(1是 0否)
        /// </summary>
        public int? isAdmin
        {
            set { _isadmin = value; }
            get { return _isadmin; }
        }
        /// <summary>
        /// 创建人
        /// </summary>
        public string createUser
        {
            set { _createuser = value; }
            get { return _createuser; }
        }
        /// <summary>
        /// 删除时间
        /// </summary>
        public string delTime
        {
            set { _deltime = value; }
            get { return _deltime; }
        }
        /// <summary>
        /// 删除人
        /// </summary>
        public string delUser
        {
            set { _deluser = value; }
            get { return _deluser; }
        }
        public string zhiwu { get; set; }
        public int? isDel { get; set; }
        public string baseCode { get; set; }
        public string powerRole { get; set; }
        public string openpwd { get; set; }
    }
}
